amended panel header, added logout functionality