anchor.diff:  
   function logout() {
   
  -	$.post("/logout")
  +	var logouttarget = $("#logouttarget").val();
  +
  +	$.post(logouttarget)
   	.done(function() {
   		alert("success!");
   	})
  
positive.code: 
  function register() {
  
  	var username = $("#regusername").val();
  	var password = $("#regpassword").val();
  
  	$.post("/register", {"username":username,"password":password})
  	.done(function() {
  		alert("success!");
  	})
  
negative.code: 
  function login() {
  
  	var logintarget = $("#logintarget").val();
  
  	var username = $("#logusername").val();
  	var password = $("#logpassword").val();
  
  	$.post(logintarget, {"username":username,"password":password})
  	.done(function() {
  		alert("success!");
  	})
  