add the module of login/logout