test for log in