some todo comments and fixing socket background invites