change db to run with connection pool. begin login page