authentication rest method added