Added form_expire field. Added logic to calculate time between creation and expire date. Refactored main form. Added before create function to model