changing user storage to use id instead of object