updated ic.php and messages.js

ic.php now calls messages.php
messages.js now calls correct path for send/rec