Modified schema as per the collection
Added authoization in the APIs