Added a way to validate data at the request level using the same validat...

...ion function that the frontend uses.

Added a fix to validation function in actions
Added a middleware that merges all the request data