minor sql script changes,
php login should work now