added standard authentication handler.