complete login functionality, ready to crawl