added data Boolean and gave the navbar a title in container