Added auto login

added settings file - implemented DPAPI encryption