add get-user-id and list (projects or sprints) commands and some refactoring