* when there's partner id, we will not require an activation token for creating a new account
* create new token if user has a partner id on creation
* validate partner id first
* fix format
* remove unnecessary code
* display error message instead of reroute
* add more test
* add comments
* add comment
* setup referral route
* referredBy
* add user id
* modify user query
* separate optional field from userInfo
* get current reward on init of satellite gui
* remove unsed code
* fix format
* only apply 0 credit on registration
* only pass required information for rewards
* fix time parsing
* fix test and linter
* rename method
* add todo
* remove user referral logic
* add null check and fix format
* get current offer
* remove partnerID on CreateUser struct
* fix storj-sim user creation
* only redeem credit when there's an offer
* fix default offer configuration
* fix migration
* Add helper function for get correct credit duration
* add comment
* only store userid into user_credit table
* add check for partner id to set correct offer type
* change free credit to use invitee credits
* remove unecessary code
* Inject segment snippet
* Add page tracking on components mounted
* Use router state to send tracking data to segment.io
Move router tracking into router file
* Create plugin for analytics
* Add plugin
* Add .env file for segment track id
* Replace custome plugin with vue-segment-analytics package
* Rename .env file to not be used for production
* Add DNT check before tracking
clean up code
* move tracker to be above page reload
* Inject segment snippet
* Add page tracking on components mounted
* Use router state to send tracking data to segment.io
Move router tracking into router file
* Create plugin for analytics
* Add plugin
* Add .env file for segment track id
* Replace custome plugin with vue-segment-analytics package
* Rename .env file to not be used for production
* Add DNT check before tracking
clean up code
* move tracker to be above page reload