add error class for devise