API code review fix plus profile flow disconnected