Fixed post/put for new/edit urls, now escape html
Fixed validations
Added format for datepicker