mostly implemented navbar