added nav bar and used link_to command