simplified if statement
removed image in header
created function to toogle the navbar buttons
added errormessage if no sessionStorage is available
setting visiblity of the navbar-content with every viewLoad