@Override
	public void addUser(User user) {
		
		PreparedStatement pStmt = null;
		
		try {
			
			pStmt = conn.prepareStatement("INSERT INTO USER (login, password, name, surname) VALUES (?, ?, ?, ?);");
			pStmt.setString(1, user.getLogin());
			pStmt.setString(2, getMD5Hash(user.getPassword()));
			pStmt.setString(3, user.getName());
			pStmt.setString(4, user.getSurname());
			pStmt.executeUpdate();
			
		} catch (SQLException e) {
			
			e.printStackTrace();
			
		} finally {
			
			closeResource(pStmt);
			
		}

	}