ios: implement login view controller