Redirect after edit profile now works if username is changed