Make log-in and access denied work better