added preferred_contact field to User and ordered tasks before passing to frontend