added rewrite rule for friendly urls