moved tasks and tasks schema to tasks.js
setup tasks to be the router of users