made backend return sender, fixed some variables