added symfony validator for registration , fixed #5