Login, register, logout, save session.