trim username & password