working two pages UI