1st attempt at fixing sign out in prod