Added authentication to some API calls. General cleaning