EDITING: add login/logout feature

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