Added login fix gist hack