added layout information and title
fixed new page redirect with URI encoding