Fix bug in search user api

1. Add status = 'A' filter in the query

2. Add default sort column in the query.
Merge pull request #339 from Ghost141/search_user_fix

Fix bug in search user api