displaying login / logout buttons on the main page