Conditional handling for author page