public static int unreadNoteCount(Statement stmt, int user_id) {
		try {
			ResultSet rs = stmt.executeQuery("SELECT COUNT(*) as count FROM messages WHERE message_read = 0 AND recipient = " + user_id);
			rs.first();
			return rs.getInt("count");
		} catch (SQLException e) {
			e.printStackTrace();
			return 0;
		}
	}