added search on asset_id.
added necessary indices
refactoring to use current user helper
minor ui fix