prevent devise deprecation warning