login fixes for ios
ask for both read and write permissions