added devise and user model