Changed back to JS login