Update task.php

Added functions for getting tasks from or for specific user based on user id.