Added auth_type for easier descion