API versioning and Securing an API