added a little toggle to let users know they are about to logout, and null check on getcompanyimages