Adding IOS Login handling