added errors for duplicate email and username