added json return for user example