connection and header refined

added the logo, and changed the reference of logo on ined page.

also updated the new db structure query.