Assistant professor charged with harassment and accessing students' data