add login/logout behaviour