Change getUser functions to getUserId