Update to Login, and Leads.java for database connectivity and queries