Edit profile form now works correctly.