public void addUser(User u){
		int verified = u.isVerified()? 1 : 0;
		double[] loc = getGPS(u.getLocation(),true);
		try {
			userCommitCount++;
			PreparedStatement pstmt = con.prepareStatement(userdbInsert);
			
			pstmt.setLong(1, u.getId());
			pstmt.setString(2, u.getScreenName());
			pstmt.setLong(3, u.getCreatedAt().getTime()/1000);
			pstmt.setLong(4, u.getFavouritesCount());
			pstmt.setLong(5, u.getFollowersCount());
			pstmt.setLong(6, u.getFriendsCount());
			pstmt.setInt(7, verified);
			pstmt.setLong(8,u.getStatusesCount());
			pstmt.setDouble(9, loc[0]);
			pstmt.setDouble(10, loc[1]);
			pstmt.setString(11, u.getProfileImageURL().toString());
			
			pstmt.executeUpdate();
			pstmt.close();

			if(userCommitCount > 10)
			{
				userCommitCount = 0;
				con.commit();
			}
		} catch (SQLException e) {
			System.out.println("user database error");
			e.printStackTrace();
		}
	}