Repaired usage of strong parameters
Added validations, corrected showing error messages after validation errors