Did some more work on validation and user registration