Linking series_id to users
fixed merge conflicts in investment model and controller