check for username and password existance