trim text to username of login