added control for already registered email and username in L1