Adding api auth and documention