added userid to user links
Added submitDeposit function