updated css and error messages