Fixed a bug with the format of a JSON in the users controller