def METHOD_NAME(request):
    """
    If the user is logged in, he/she can change his user details and password here. In addition,
    the user can request to join an organisation.
    :param request; A Django request.
    """
    # FIXME: This could possibly be handled by one of the user end-points?
    if 'avatar' in request.FILES:
        ascii_name = request.FILES['avatar'].name.encode('ascii', 'ignore').decode('ascii')
        request.FILES['avatar'].name = ascii_name
        avatar_form = UserAvatarForm(request.POST, request.FILES, instance=request.user)
        if avatar_form.is_valid():
            avatar_form.save()
    return HttpResponseRedirect("/my-rsr/my-details")