fix script generate database, fix models rfid not unique, fix security
and query account to login