Split the UsersHandler function into multiple handlers.