configuring devise and such