All connect functions works properly now