Moved email, nickname and password validation to separate methods.