improved security and added the password change functionality.