Added server side script for handling tip submission