Updated code with navbar and removed side bar