Login request accept json. need refactoring
iOS login request to server then display alert box