added .htaccess url rewrite rules