Initial implementation of Login from main page.