Removed JSON from controller and added in validations