added a user model and methods in DBRetriever to check and add user.