Added wrapper class for global $user