begin registration, login, session