Added support for devise (3.3.0)