Updates Task.get and TaskController.get to work with session