alert('Please login to access this page'); window.location.reload();