Changed Login method to post and made a redirect to index page on login.