Fixed urls.py for logins and apps