added navbar and a main app view