Changed Login method to login in MainActivity.