added apis, security