updated gemfile and user model to prevent issues during fresh deply