bugfix

fixed some bugs and created a navbar