Fixed #38 - added a db index for the user username