changed column from :type to :auth_type