added deadline to tasks (in db and in the form); polished the views