Migration of devise from 2.1 to 2.2