Made sure the URL changed after logging in, and added names to the paths in urls.py