Added validations and create action