Working on Devise and its adaption to the project