add return uid in api login