Added form and js function calls for updating user profile