adding button functionality and db