fix edit profile and user registration
Signed-off-by: Widodo Pangestu <wid.pangestu@gmail.com>