registration (non-persistent) and sessions for logged in users