Removed passing of username and replaced with Client.CurrentUser.UserName
Added going to main menu or login page in MainActivity depending if user is logged in