updated new controller for user and updated gem with ruby version