transferred the date validation to the model file and fixed a bug with the routes when creating a job
merged changes