trying url rewrite functionality for trailing slash problem