working on LoginReg App