modify sql statement and add facebook logo image