fixed more bugs in devise migration
fixed more bugs in devise migration