Implemented filtering in the Users/Students tab.

This is a fix for #1358

cc: @kitiya