New Paths

Added base path variables to href and corrected errors in index.php