added loading sample data when db is empty; fixed layout problems caused by downgrading bootstrap from 3.x to 2.3.2