change loginUI and mainpageUI...no more bugs