Added DatabaseManager to client
Added restore last connections sessions