Adding condition if user module is not loaded