Completed the get-tasks-list-for-current-user function