Handles the REST API for the users module of the system.