bootstrap and login/logout