Add auth logic for solutions.