Added the server code and the UserManager class and interface.

These have been created to get the core functionality of registering and loging a user into the system