Backend message handling added