added devise and postgres