added specs for UserDatabase