started adding some tests around the user dao, currently there is one failing test, that will stay there until I work out how I want tests to interact with the database.