corrected username functions