Tried to implement a register function

Made a register jsp page and tried to make it work.