Adding functionality to get patients by access token