@@ -0,0 +1,858 @@
+package com.google.musicanalysis.site;%0Aimport java.io.IOException;%0Aimport javax.servlet.annotation.WebServlet;%0Aimport javax.servlet.http.HttpServlet;%0Aimport javax.servlet.http.HttpServletRequest;%0Aimport javax.servlet.http.HttpServletResponse;%0A%0A/** %0A * New page after logging in via oauth. This servlet closes the page. %0A */%0A@WebServlet(%22/api/oauth/landing%22)%0Apublic class OAuthLandingServlet extends HttpServlet %7B%0A  @Override%0A  public void doGet(HttpServletRequest req, HttpServletResponse res) throws IOException %7B%0A    res.setContentType(%22text/html%22);%0A%0A    StringBuilder content = new StringBuilder();%0A%0A    content.append(%22%3Chtml%3E%3Cbody%3ESuccesfully Logged in.%3Cscript type=%5C%22text/javascript%5C%22%3E%22);%0A%0A    content.append(%22window.close();%22);%0A    content.append(%22%3C/script%3E%3C/body%3E%3C/html%3E%22);%0A    res.getWriter().write(content.toString());%0A    res.setStatus(200);%0A  %7D%0A%7D%0A

add OAuthLandingServlet.java