add getUserName method to thread/link models.
correctly handle case where user submits a url that is already registered.