Added in  "Queries" and "HashPassword" class

All queries are in a single class instead of scattered throughout the
code as is the method for hashing a password. This greatly reduced the
clutter of the code. I also fixed a few bugs, and changed what controls
users can see depending on if they are the "admin" of the program or
not.