Modified IndexController and Users class to allow for adding and updating via curl