moved got link status outside of the if so if they are not registered we can start the link process