logging fixes
added appsettings, updated exception logic, and updated logging
added login capability