Complete basic session, login and registration