added a get users api
on the users_controller.rb file as well as the corresponding route in routes.rb