Edits to UI and Database code

Added the graphical changes to UI and attempted to select data from
database. Causing some problems