add login/logout api calls