logout on the main page