Validating credentials against database now functioning.
Fixing merge changes.