Some  database access for user pick view