add and retrive user code added