added nav bar and function to set redirect links