adding login page elements to main page, where they really don't belong.