Support logout and add login/logout link.

Fix permissions with respect to the admin group and submission objects.