New law gives teachers access to students' criminal past