small fixes to previous commit: logout button with username