minor database connection fix
Changed to debug the database issue
More debugging code
More debugging code
More debugging code
More debugging code
More debugging code
Removed debugging code