Working on the user gateway