added tab bar anddb local