before action in component controller