1. Adding backend for get status data from db with ajax method