Added api authentication with interceptors and api returns profiles