added a port to prevent errors with dev server
updated validations and messages for dynamic errors
update model