added socket listeners to home