Can retrieve users from the database using their email and password