added accessing of logged in user object to update the password for the first time.