Top menu rendering fix

Also, settings page link is shown only for restricted users