Added rest authentication with token