updated loginview and itemview to have the ability of exiting keyboard when user taps outside the uitextfield