Added a user class and tested registration, login, get-user.