db queries tested new user model