Optional redirecting back after sign in or sign out