public UserModelBean checkUser(String login, String pwd) {
		try {
			// create connection
			connection = java.sql.DriverManager.getConnection("jdbc:mysql://"
					+ dB_HOST + ":" + dB_PORT + "/" + dB_NAME, dB_USER, dB_PWD);

			// Cr�ation de la requ�te
			java.sql.Statement query;

			// Creation de l'�l�ment de requ�te
			query = connection.createStatement();

			// Executer puis parcourir les r�sultats
			java.sql.ResultSet rs = query
					.executeQuery("SELECT * FROM User where login='"
							+ login + "' and pwd='" + pwd + "';");

			if (!rs.next()) {
				return null;
			} else {
				// Cr�ation de l'utilisateur
				UserModelBean user = new UserModelBean(
				rs.getString("lastname"), rs.getString("firstname"), rs.getString("email"),
				rs.getInt("age"), rs.getString("login"),
				rs.getString("pwd"));
				System.out.println("User Login : " + user);
				return user;
			}
		} catch (SQLException e) {
			e.printStackTrace();
			return null;
		}

	}