included the sign out functionality in MainActivity