added availability switch to navbar (doesn't do anything yet)