in login and register view, touch background view to auto hide the keyboard.
modify prelogin view.