Error resolved for devise