add api document for login