save registration to session