Login added to mainViewController