Im trying to calculate the time difference between an user login/logout, to do so, I need to do following operation: 2nd Login - 1st Logout, i don't know even how to explain to correctly so i ll post the table result here to illustrate:

Im trying to calculate the time difference between an user login/logout, to do so, I need to do following operation: 2nd Login - 1st Logout, i don't know even how to explain to correctly so i ll post the table result here to illustrate:

You can acomplish this by left joining the table with itself. This query renders the table you posted:
SELECT t.Login, t.Logout, TIMEDIFF(MIN(t2.Login), t.Logout) AS Difference
FROM my_table t
LEFT JOIN my_table t2
ON t.Logout < t2.Login
GROUP BY t.Logout
MIN(t2.Login) is the next login after t.Logout