installed devise and updated the user model