add Matrix login support in sample project