Added in logging into keypad