added pages,changed ui a bit