logout api added