fixed the sign out error that happens while running locally