add some functions in authorhelper