Refactoring code for working with servlets and DB. Testing registration
new user from Web form.