added flask stuff for keyboard.html