Working auto-select navbars

Next:
- login through public page
- navbar functions