login/logout sample for nodebb