Created validations for all entities
Added the Profile and Attribute functions to edit.js and create.js