added rewrite rules in .htaccess to remove index.php from urls