doc controller user authentication added.