Renamed index template and corrected modal login call