registration clientside  error messages done