EDITING: login/logout

Change login/logout based on `GET cnx-authoring/users/profile`