changed error messages and css
changed error message