Fixed bugs about refresh schema and removed password field