fixed baked view for user.name
calculate duration beforeSave
added jquery ui support for datepicker