Fixed bug in devise initializer