Delete two buttons
Added check when registering at the backend