check username and password in one go