Implementation done for SPA iPhone and SPA android