changes to app logout working and filter