updated messages controller to user current_dog method