persist user registrations and sessions