added tests to log in page