Fix Login page and agreement page. Fixes #26