Save user function

Change-Id: Ie00db85893a990cb7da25f02954babe0c2a0f882
Signed-off-by: anupamsrivastava <om.anupam@gmail.com>