Added method to check account by user and password.