2 fixes

1. do not show login pop-up if already logged in
2. in iOS filenames are case sensitive