SQL fix for signups