add navbar and basic authentication server side