added login functionality and broke nav