trim users and passwords