Changed from submitting in database to sending email.
Deleted model because it was no longer needed.
Changed the value of variable for success message.
Added styles for error and success messages.
Fixed a variable for a error message.