add user login api demo