Adding authentication model.
Added in authentication.