Code refactoring re: author validation