add htaccess and url rewriting