add the auth login to the basic class