Added reg/login/logout.