this is a rails app simulating dropbox referral mechanism