Initialize all fields

Fixes #43
Fix some login issues

Fixes #38