Fixed login issue and updated build scripts and xcode ANE project