change columns from text to string to support MySQL indexes
add method to get all opened sessions