Added hover effect to buttons
Abstracted text input field functionality