REST auth API added