add controller login/logout