public boolean checkUser(String user, String password){
		Statement st;
		ResultSet rs;
		String query;
		
		try {
			st = conn.createStatement();
			query="SELECT * from people WHERE name='"+user+"' AND password='"+password+"'";
			rs = st.executeQuery(query);
			if (rs.next()){
				return true;
			}
			else{
				return false;
			}
		} catch (SQLException e) {
			e.printStackTrace();
			return false;
		}
	}