working sessions and persists session data after sign up