Added search for users/locks

Implements: #24