Added user id in session
Restrict access to the task controller for login users