added code to find by username and password for the login