Adding Login and Logout functionality in LoginActivity and TutorialActivity