updated sql query, created arrays for audio amd user.