changes to ConnectionDB.java, UserRegistration