Added accept Terms of Service logic and removed duplicate empty updateLoginState method.