finished up the register added password validation on client and server