added error messages and fixed sorry buttton