adding logout front end