Added profile management, failed on CORS!