adds test for checking if user is in db
adds tests for saving a user or updating a user. Adds methods to SaveUser class to check for user in the database and save them.
merged usersave branch with master