Added conditional in header view that checks to see if user is logged in