add layout for nav bar and making use of < %= render %>