added tab bar control in app delegate