Implemented login and register on the server

Also changed Customer to User