[iOS] added some logout stuff and edited .gitignore for xcode