added devise and relationships