Implemented Angular $interval to refresh userconnected