added controller example of framework integration
replace refer a friend with recommend a friend