Updated gemfile and modified the user controller and routes