Updated the Nav Bar to work with the login functions and pages defined by me. Works both when logged in and logged out.