User - Changed $db variable and declare table for prefix