fixed user Schema bugs