adds authentication
small fix