add new method and fixed a rest issue
fixed get_user example