Added if statement to check to see if a user was already logged in to properly navigate the user when the Home link or logo is clicked in navbar.