Legal consequences of online behaviour