Improved error logging, added credentials check on load