User registration with JDBC