Create registerUpdate.java

Allows user to register.