login/logout and basic format