Added NoSuchUserException to getUser() function.