Working on friendly urls and error page