fixed login issues on android due to permission problem