added socket.io to home.controller and made a new check function to see how the timer
merged with qis, revision