fix user + fix sql schema