fixed display of buttons after logging in as admin