Use 'view endedoting:' instead of 'resign first responder' in login view.
Merge branch 'master' of https://github.com/letsdoitworld/ldiw-iphone2