Updated add use case action

Must use defined functions within add_action