Connected "edit plan" and "delete plan" forms to controller. Fixes for date time