Got iOS login working