updating the storage tracking to take invites into account (kinda, unfinished, broken, see :get /user/[id] controller). also adding function in user model to credit a user that has invited another.