add functions in manu bean
persist entity in the functions
Merge origin/master