Add fork to update user function so that it can handle password updates too
changeDetails now strips new details to essential info and removes unchanged details
Handle user update details requests
Enable submission and clear password input upon success
Unset errorMsg upon success (also removed some console logs)