Fixed login, added test page