Updates for saving settings. Updating tests.
Fixing login.
Added port testing.
Adding interface settings and refresh interval.