default login api for linux user