Fix for handlePostRequest with localization, fix for editProfile route.