Changed sql design, improve unitcodelist
Problem with sql, primary key on login table
fixed sql, change how hod works(bool)