Add method to find players with active session. Replace query with TypedQuery.