Moved login cookies from PHP to JS