fixed session variable for user from id_user to new schema of simply 'id'