finished login/reg page class orginization