replaced request.getParameter with Spring annotations