got user logout working