check sender and to in view