fix for conditions when user context object is not of class User