Update UrbanTravellers-Web/src/main/webapp/WEB-INF/template/default.xhtml

Added event listener to prevent user from accessing login and registration pages after successful login.