added login tests