got the logout action working