Update user module

Correct error with update profile and password.