change online users from mysql to redis+angularjs