Re-implemented logins using Django's default login system