Add profile api straight to plugin