Fix referee access to view competitions and have a logout link at the he...

...ader.