edit activityUser and onLineUser func