added error handling and promises to the GET api request for the users api
added error handling and promises to the GET api request for the users api

projectSHAI/GOATstack,projectSHAI/GOAT-stack,projectSHAI/GOATstack,projectSHAI/GOATstack,projectSHAI/GOAT-stack,projectSHAI/GOAT-stack,projectSHAI/GOATstack,projectSHAI/GOAT-stack