Added logic to be able to display the navbar sometimes, but not others (i.e.: login page)

See: https://piazza.com/class/hktc23zr2apnf?cid=339
JQuery library