Added check when registering at the backend