logout and help buttons working