use name to login