added to_lower to other functions using username