Added error messages and styling

Still need to add all error messages. This just added the functionality