anchor.diff:          });
       }
       
  -    $("#search-btn").click(function(){
  +    $("#search-btn").click(function(event){
           searchForUserName();
  +    });
  +    
  +    $("#userName").keypress( function( event ) {
  +        if ( event.which == 13 ) {
  +            event.preventDefault();
  +            searchForUserName();
  +        }
       });
       
   });
  
positive.code:             var td = $(this).find(".buttonHolder"),
                  userName = $(this).find(".userName").text();
              td.append('<button class="play-button btn btn-primary">Request Game</button>');
              $(".play-button").click(function () {
                  requestGame(userName);
              });
          });
  
negative.code:                 $button.addClass("btn-danger");
                  $button.html("request failed");
              }
              $button.attr("disabled", true);
              $button.parents("tr").unbind("click");
          });
      }
      
  