add email and username validation