Improved validation on register and signin

Added and formatted validation on the signin and register page, this is
all done server side due to issues with jquery formatting.