Implemented and fixed Devise and Figaro