test  login requirements