Back-end for forgot username feature