added getUserGivenUsername function