Start Mobile ID integration
Some refactoring
Merge branch 'mid-login'