Replaced obsolete $matches with $username. Return should return something.