moved second page to application instead of being by itself