mysql gets users from db, other uses temp users