adding disable-gdm hook