login and get online users - buggy