Servlet searches and registration working