set page title based on url