Added password hashing and filled out some user functionality