Continued implementation for authentication.
Changed the way the userId is obtained on the service used to create a new task