Can now succefully update user profile and hint error messages if entering invalid inputs