retrieving name and banner from db