API: login api added