added deviceLogin to iOS and Android