user.php now creates a user whenever a get request is sent to it and returns JSON of the user's id