start of devise gem  integration