moving from by user to from database