Added support for user to edit profile. WARNING: TESTS REQUIRED\!