changed it so that online user and chat box are the same html element