fix(auth): fixing flash errors