did : log-in api