added helper class in main to manage if the user is signed in