minor python and html tweeks, navbar does not show sutff when site is locked