user and task routes and functions into separate files