Reformat of View Db

Also some changes to how the buttons work. Made the out button so it
wouldn't clock out if there wasn't a clock in.