added functionality/tests to match username in text