refactor studio and composer into modules

- fix unit tests
- change Profile to User module
- adjusted the request interceptors for Studio and Composer
-- studio does auth checking
-- Composer does error checking