Routine Update

Added dispatcher class, added a database connection error message, and
also fixed bugs pertaining to authentication