call passport in init function