Set up JDBC configuration for MySQL.
Updated user login functions.