fixed bug with finding username