finished implementing the navbar