Fixed the POD

fixed the $user_data = $db->fetchall(); to $user_data = $db->fetch();