after first profile update, user is now redirected to profile view page
code review fixes