Added username checking (checks database for existing username/password combo)