Fixed security issue for home page