Moved user search to application_user
Added logic to keep track of updates to be sent to apps