rails: fixes provisioning
rails,android: hook up login screen
Merge branch 'master' of https://github.com/michaelhasan/chain