Added logic in "User is Typing"