Add helper functions to Server and more tests.
Fill out the User class.