added devise and stuff