require login to use, also fixed the navbar to work