Student hacked into school's computer to obtain a girl's details