Registration form hanging up on submission