Add function to User model which returns all tasks belonging to user with subreports between two dates