REST api login support