API initial commit of in-cms login popup