change log out button on panel to use POST