Changes in user login action and implemented code to insert customer using JSON array as parameter