Added 'profile page' to getPageType function.