database implemented
Implemeted all buttons