Integrating aptdetails table into frontend and sequelize sync