implemented get current userdata endpoint