added permalink page, still not working properly