logout user is working