Modified User class to take of user password.