Showing tabs after authentication

I generated an ionic 3 app using ionicCLI with tabs, added new page for login. I changed from rootPage = TabsPage to rootPage:any = LoginPage;, when I load the home page unfortunately I can’t see the tabs. How can I fix this error so that when I login I can be able to see the Homepage and any other pages that I will create to have the tabs?

Here is one way of going about this.