@SuppressWarnings("unused")
protected void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
response.setContentType("text/html;charset=UTF-8");
UserService userService = UserServiceFactory.getUserService();
User user = userService.getCurrentUser();
String path = ((HttpServletRequest) request).getRequestURI();
String action = "";
String[] splittedURI = path.split("/");
// if length = 3, this is for action request.
if (splittedURI.length == 4) {