private userDao()
	{
		Properties properties = new Properties();
		try {
			properties.load(new FileInputStream("c:\\Users\\Igos\\workspace\\newsLine\\config.properties"));
			String dbURL = properties.getProperty("baseurl");
			String user = properties.getProperty("user");
			String password = properties.getProperty("pass");
			try {
				Class.forName("com.mysql.jdbc.Driver");
			} catch (ClassNotFoundException e) {
				e.printStackTrace();
			}
			connection = DriverManager.getConnection(dbURL, user, password);
		} catch (IOException e) {
			e.printStackTrace();
		} catch (SQLException e) {
			e.printStackTrace();
		}

	}