Fixed bug with header not rendering properly.
Hid buttons that should not appear if the user doesn't have proper access.