Got logging in working correctly on backend