User api working