Some login fixes
Preferences screen works, but menu does not.