AuthenticationRequired annotation added to templates/types