update navbar so only registerd users can see the datepicker form