added a method to add users to the database