store session after register