anchor.diff:      $.post( "/login", data, function( resp ) {
       	 	console.log("success");
       	 	console.log(resp);
  +    	 	if(resp.indexOf("https://") > -1) {
  +    	 		window.open(resp);	
  +    	 	}
       	}).fail(function() {
       	    console.log( "error" );
       	});
  
positive.code: <script type="text/javascript" src="lib/js/jquery-2.1.4.min.js"></script>
  <script type="text/javascript">
  
  function login() {
      var email = document.getElementById("txtEmail").value,
      password = document.getElementById("txtPassword").value;
          
  
negative.code:     	}).fail(function() {
      	    console.log( "error" );
      	});
  }*/
  
  function onSuccess(googleUser) {
  	var profile = googleUser.getBasicProfile();
  