add filterByUsername function

As a nurse,
I want to filter my clinical appointments,
So that I can have a better view.